import React, { useState, useEffect } from 'react';

import './index.less';

export default function(props: any) {
  const state = Array(6).fill(1);

  return (
    <div className="order-skeletons">
      {state.map((item,index) => (
        <div className="order-item" key={index}>
          <div className={'skeletons left'}></div>
          <div className="center">
            <div className={'skeletons title'}></div>
            <div className={'skeletons price'}></div>
            <div className={'skeletons time'}></div>
          </div>
          <div className={'skeletons pay'}></div>
        </div>
      ))}
    </div>
  );
}
